* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.totop{
  width: 45px;
  position: fixed;
  bottom: 30px;
  right: 40px;
  opacity: 0.5;
  z-index: 1;
}

.totop:hover{
  opacity: 1;
}

body {
  background-color: #f7f7f7;
  font-size: 1em;
  font-family: Microsoft YaHei;
}

.header {
  background-color: #EAEFF6;
  width: 100%;
  height: 330px;
  position: relative;
}

.profile {
  width: 1000px;
  /*设置文字框的大小*/
  margin: 0 auto;
  padding: 60px 0;
}

li {
  list-style: none;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.toul {
  position: relative;
}

.links a {
  text-decoration: none;
}

.underline1, .underline2, .underline3, .underline4, .underline5, .underline6, .underline7 {
  display: inline-block;
  background-color: #008cff;
  position: absolute;
  transition: 0.2s ease;
  height: 5px;
  width: 0;
  left: -5%;
  bottom: -8px;
  border-radius: 4px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.linktext {
  margin-top: 8px;
  left: 5px;
  opacity: 0;
  position: absolute;
  transition: 0.1s ease;
  z-index: 1;
}

.QQ:hover~.t1 {
  left: 0px;
  opacity: 1;
}

.QQ:hover~.underline1 {
  width: 28px;
  left: 0px;
}

.wechat:hover~.t2 {
  left: 0px;
  opacity: 1;
}

.wechat:hover~.underline2 {
  width: 58px;
  left: 0px;
}

.bilibili:hover~.t3 {
  left: 0px;
  opacity: 1;
}

.bilibili:hover~.underline3 {
  width: 48px;
  left: 0px;
}

.zhihu:hover~.t4 {
  left: 0px;
  opacity: 1;
}

.zhihu:hover~.underline4 {
  width: 36px;
  left: 0px;
}

.bird:hover~.t5 {
  left: 0px;
  opacity: 1;
}

.bird:hover~.underline5 {
  width: 55px;
  left: 0px;
}

.github:hover~.t6 {
  left: 0px;
  opacity: 1;
}

.github:hover~.underline6 {
  width: 52px;
  left: 0px;
}

.gmail:hover~.t7 {
  left: 0px;
  opacity: 1;
}

.gmail:hover~.underline7 {
  width: 45px;
  left: 0px;
}

.profile .myphoto img {
  width: 200px;
  border-radius: 30px;
  position: absolute;
  float: left;
  top: 50%;
  left: 50%;
  transform: translate(60%, -60%);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.profile .jianshu .shipei {
  display: none;
}

.links li {
  text-align: center;
}

.profile h1 {
  font-weight: bold;
}

.profile p {
  margin: 15px 0;
  /*文字段落前后10px,左右0px,顺时针进行 */
}

.profile .links {
  margin-top: 25px;
}

.info {
  display: flex;
  width: 75%;
  margin: 0 auto;
  padding: 90px 0;
  justify-content: space-between;
}

.info h2 {
  font-size: 1.2em;
  font-weight: bold;
}

.info li {
  margin: 20px 0;
}

.links img {
  width: 28px;
  margin-right: 30px;
}

.links img:hover {
  opacity: 0.8;
  transform: scale(1.2, 1.2);
}

.info .jiaoyu {
  width: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

.edu .zl {
  width: 38px;
  margin-right: 10px;
  vertical-align: middle;
}

.info .nengli {
  width: 35px;
  margin-right: 10px;
  vertical-align: middle;
}

.info .ruanjian {
  width: 33px;
  margin-right: 10px;
  vertical-align: middle;
}

.skill .cet4 {
  width: 34px;
  margin-right: 10px;
  vertical-align: middle;
}

.skill .computer {
  width: 34px;
  margin-right: 10px;
  vertical-align: middle;
}

.softwares .ad {
  width: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.softwares .ccs {
  width: 25px;
  margin-right: 10px;
  vertical-align: middle;
}

.softwares .adobe {
  width: 25px;
  margin-right: 10px;
  vertical-align: middle;
}

.softwares .sd {
  width: 25px;
  margin-right: 10px;
  vertical-align: middle;
}

.softwares .c4d {
  width: 25px;
  margin-right: 10px;
  vertical-align: middle;
}

.project-wrap {
  width: 75%;
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;

}

.project-wrap h2 {
  margin-bottom: 40px;
  font-size: 1.2em;
}

.flex {
  display: flex;
}

.projects {
  display: flex;
  flex-direction: column;
}

.projects img {
  height: 100%;
  width: 512px;
  border-radius: 9px;
  float: left;
}

.miaoshu1 {
  width: 380px;
  float: left;
  margin-left: 50px;
  margin-top: 10px;
}

.miaoshu2 {
  width: 450px;
  float: left;
  margin-left: 50px;
  margin-top: 10px;
}

.miaoshu2 .zhaiyao{
  margin: 15px 0;
  text-indent: 2em;
  line-height: 1.9em;
  font-family:宋体;
}




.miaoshu1 .zhaiyao{
  margin: 15px 0;
  text-indent: 2em;
  line-height: 1.9em;
  font-family:宋体;
}

.projects span {
  margin-right: 15px;
  font-size: 0.9em;
  font-weight: bold;
}


.projects a {
  text-decoration: none;
  color: #272727;
}

.projects a:hover {
  color: #FC8CB4;
}

.project1, .project2, .project3, .project4, .project5 {
  width: 1050px;
  height: 360px;
  background-color: #FFFFFF;
  padding: 10px;
  margin-bottom: 150px;
  box-shadow: 2px 1px 15px rgba(0, 0, 0, 0.1);
  border-radius: 9px;
  z-index: 1;
}

/* .project p {
  text-indent: 2em;
  margin-bottom: 20px;
  line-height: 1.9em;
  font-size: 1em;
} */
/* .projects span {
  margin-right: 20px;
  font-size: 0.9em;
  font-weight: bold;
} */
.xiangmu {
  width: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

.purple {
  color: #8C0CF4;
}

.red {
  color: #CC0C1C;
}

.orange{
  color: #FC6404;
}

.green{
  color: #04E474;
}

footer {
  margin: 30px auto;
  margin-top: 0px;
}

footer p {
  text-align: center;
  color: #aaabab;
}

.classlogo{
  width: 100%;
  text-align: center;
}

.classlogo img{
  width: 160px;

}


.airpods {
  position: absolute;
  background-position: bottom;
  opacity: .3;
  width: 90px;
  animation-name: float2;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.pencil {
  position: absolute;
  background-position: bottom;
  opacity: .3;
  width: 80px;
  animation-name: float3;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.ipad {
  position: absolute;
  background-position: top;
  opacity: 0.2;
  width: 100px;
  animation-name: float4;
  animation-duration: 25s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.ipod {
  position: absolute;
  background-position: bottom;
  opacity: .2;
  width: 90px;
  animation-name: float6;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.watch {
  position: absolute;
  background-position: bottom;
  opacity: .3;
  width: 100px;
  animation-name: float5;
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.iphonex {
  position: absolute;
  background-position: bottom;
  opacity: .3;
  width: 100px;
  animation-name: float1;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes float1 {
  from {
    transform: translate(80px, 250px) rotate(0);
  }

  to {
    transform: translate(500px, -20px) rotate(540deg);
  }
}

@keyframes float2 {
  from {
    transform: translate(1400px, 1000px) rotate(0);
  }

  to {
    transform: translate(-50px, 400px) rotate(1800deg);
  }
}

@keyframes float3 {
  from {
    transform: translate(500px, -100px) rotate(0);
  }

  to {
    transform: translate(700px, 2400px) rotate(1800deg);
  }
}

@keyframes float4 {
  from {
    transform: translate(800px, -70px) rotate(0);
  }

  to {
    transform: translate(-50px, 2350px) rotate(8000deg);
  }
}

@keyframes float5 {
  from {
    transform: translate(1300px, 250px) rotate(0);
  }

  to {
    transform: translate(1200px, 50px) rotate(720deg);
  }
}


@keyframes float6 {
  from {
    transform: translate(-50px,500px) rotate(0);
  }

  to {
    transform: translate(1200px, 200px) rotate(360deg);
  }
}


/*
@media(max-width:400px) {
  .profile, .info, .project-wrap, footer {
    width: 90%;
    margin: 0 auto;
  }

  .profile {
    padding: 40px 0px;
  }

  .profile .jianshu .moren {
    display: none;
  }

  .profile .jianshu .shipei {
    display: block;
  }

  .links img {
    width: 25px;
    margin-right: 20px;
  }

  .links .face, .bird img {
    display: none;
  }

  .profile h1 {
    font-weight: bold;
    width: 80px;
    margin-left: 25px;
    margin-bottom: 30px;
  }

  .profile .myphoto img {
    width: 100px;
    border-radius: 100px;
    position: absolute;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(10%, -170%);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
  }

  .links img:hover {
    opacity: 1;
    transform: scale(1, 1);
  }

  .info {
    display: block;
    padding: 80px 0;
  }

  .edu, .skill {
    margin-bottom: 80px;
  }

  .header {
    width: 100%;
    height: 400px;
  }

  .project {
    width: 90%;
    margin-bottom: 80px;
  }

  .iphonex, .watch, .ipad, .pencil, .airpods {
    width: 60px;
    animation-duration: 8s;
  }

  .airpods {
    position: absolute;
    background-position: bottom;
    opacity: .3;
    width: 90px;
    animation-name: float2;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  .pencil {
    position: absolute;
    background-position: bottom;
    opacity: .3;
    width: 50px;
    animation-name: float3;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  .ipad {
    position: absolute;
    background-position: bottom;
    opacity: 0.3;
    width: 80px;
    animation-name: float4;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-direction: normal;
  }

  .watch {
    position: absolute;
    background-position: bottom;
    opacity: .3;
    width: 80px;
    animation-name: float5;
    animation-duration: 9s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  .iphonex {
    position: absolute;
    background-position: bottom;
    opacity: .3;
    width: 80px;
    animation-name: float1;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  @keyframes float1 {
    from {
      transform: translate(180px, 300px) rotate(0);
    }

    to {
      transform: translate(340px, 240px) rotate(720deg);
    }
  }

  @keyframes float2 {
    from {
      transform: translate(375px, 812px) rotate(0);
    }

    to {
      transform: translate(-50px, 300px) rotate(1800deg);
    }
  }

  @keyframes float3 {
    from {
      transform: translate(200px, 20px) rotate(0);
    }

    to {
      transform: translate(375px, 812px) rotate(1800deg);
    }
  }

  @keyframes float4 {
    from {
      transform: translate(375px, -70px) rotate(0);
    }

    to {
      transform: translate(-100px, 812px) rotate(720deg);
    }
  }

  @keyframes float5 {
    from {
      transform: translate(100px, 250px) rotate(0);
    }

    to {
      transform: translate(375px, 50px) rotate(720deg);
    }
  }
} */
